﻿using System;

namespace Common
{
    /// <summary>
    /// Name - TrackableHealthParameter.cs
    /// Description - 
    /// Programmer - Matthew Mitchell
    /// Date coded - 11/27/2011
    /// Arguments - None
    /// Variables - None
    /// Files accessed by this code artifact - None
    /// Files changed by this code artifact - None
    /// I/O - None
    /// Error Handling - None
    /// Modifications -
    ///     1.0 - Initial coding
    /// Known Faults -
    ///     1.0 - None known
    /// </summary>
    public class TrackableHealthParameter
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the value.
        /// </summary>
        /// <value>
        /// The value.
        /// </value>
        public double Value { get; set; }

        /// <summary>
        /// Gets or sets the ID.
        /// </summary>
        /// <value>
        /// The ID.
        /// </value>
        public int ID { get; set; }

        /// <summary>
        /// Gets or sets the entered on.
        /// </summary>
        /// <value>
        /// The entered on.
        /// </value>
        public DateTime EnteredOn { get; set; }

        /// <summary>
        /// Gets or sets the max value.
        /// </summary>
        /// <value>
        /// The max value.
        /// </value>
        public double MaxValue { get; set; }

        /// <summary>
        /// Gets or sets the min value.
        /// </summary>
        /// <value>
        /// The min value.
        /// </value>
        public double MinValue { get; set; }

        /// <summary>
        /// Gets or sets the status.
        /// </summary>
        /// <value>
        /// The status.
        /// </value>
        public string status { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="TrackableHealthParameter"/> class.
        /// </summary>
        public TrackableHealthParameter()
        {

        }

        /// <summary>
        /// Initializes a new instance of the <see cref="TrackableHealthParameter"/> class.
        /// </summary>
        /// <param name="n">The n.</param>
        /// <param name="v">The v.</param>
        /// <param name="s">The s.</param>
        public TrackableHealthParameter(string n, double v, string s)
        {
            this.Name = n;
            this.Value = v;
            this.status = s;
        }

        /// <summary>
        /// Gets or sets the health parameter id.
        /// </summary>
        /// <value>
        /// The health parameter id.
        /// </value>
        public int HealthParameterId { get; set; }
    }
}
